<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

  <head>
    <base href="<%=basePath%>" />
    
    <title>阅览信件</title>
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="expires" content="0" />
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
	<meta http-equiv="description" content="This is my page" />	
	
	<link rel="stylesheet" href="css/style.css" type="text/css"></link>
	<link rel="stylesheet" href="css/style_.css" type="text/css"></link>
  	<script type="text/javascript" src="js/win_center.js"></script>
  	</head>

<body>
<div class="topTitle">
  		<img src="images/main_28.gif"/>&nbsp;阅读信息
  	</div>
<br />
<table align="center" width="95%" border="0" cellspacing="0" cellpadding="0">
	<tr >
    	<td height="24" class="td_form01">信件标题</td>
        <td class=td_form02>
        	<s:property value="message.mesTitle"/>
        </td>
    </tr>
    <tr>
        <td width="90" height="24" class="td_form01">发件人</td>
        <td class=td_form02><s:property value="message.employeeBySendId.userName"/></td>
    </tr>
    <tr>
        <td height="24" class="td_form01">发件日期</td>
        <td class=td_form02>
        	<s:date name="message.sendTime" format="yyyy-MM-dd hh:mm:ss" />
        	<input type="hidden" name="message.employeeBySendId.userId" value="<s:property value='message.employeeBySendId.userId'/>"/>
        </td>
    </tr>
</table>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
  	<tr>
    	<td width="110" class="td_form01">信件内容</td>
    	<td class="td_form02">
    		<textarea name="message.content" cols="80" rows="5"><s:property value="message.content"/></textarea>
    	</td>
  	</tr>
</table>
<br />
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
  	<tr>
    	<td align="center" class="td_page">
    		<input name="Submit" type="button" class="buttonface02" value="回复消息" onclick="openwindow('restoreMessage?mid=<s:property value='message.mesId'/>','',500,300);" />
    		<input type="button" class="buttonface02" value="  返回  " onclick="location.href='message.jsp'"/>
    	</td>
  	</tr>
</table>
<br />
</body>
</html>
